﻿<ul class="nav ace-nav pull-right">
    <li class="light-blue">
        <a data-toggle="dropdown" href="#" class="dropdown-toggle">
            <img class="nav-user-photo" src="@Request.Cookies["avatar"].Value" width="48" height="48"/>
            <span class="user-info">
                @if (WebSecurity.IsAuthenticated)
                {
                    <small>Welcome,</small>
                    @WebSecurity.CurrentUserName
                }
            </span>

            <i class="icon-caret-down"></i>
        </a>

        <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer">
            <li>
                <a href="#">
                    <i class="icon-cog"></i>
                    Settings
                </a>
            </li>

            <li>
                <a href="~/Admin/AdminHome/Profile">
                    <i class="icon-user"></i>
                    Profile
                </a>
            </li>

            <li class="divider"></li>

            <li>
                <a href="~/Admin/AdminLogin/LogOff">
                    <i class="icon-off"></i>
                    Logout
                </a>
            </li>
        </ul>
    </li>
</ul>
